﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarterWechatServer.BizModel.Dish
{
    /// <summary>
    /// 菜品管理输出模型类
    /// </summary>
    public class DishOutput
    {
        /// <summary>
        /// 分类Id
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// 菜品分类名称
        /// </summary>
        public string CategoryName { get; set; }

        public List<DishInfo> Dishes { get; set; }
    }

    /// <summary>
    /// 菜品详情
    /// </summary>
    public class DishInfo
    {
        /// <summary>
        /// 菜品Id
        /// </summary>
        public int DishId { get; set; }

        /// <summary>
        /// 菜品名称
        /// </summary>
        public string DishName { get; set; }

        /// <summary>
        /// 菜品图片
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public int UnitPrice { get; set; }

        /// <summary>
        /// 会员价
        /// </summary>
        public int MemberPrice { get; set; }
    }
}
